<script setup lang="ts"></script>
<template>
  <a href="#">
    <slot />
  </a>
</template>

<style lang="scss" scoped>
@import "../../utils/scss/global.scss";
a:hover {
  -webkit-filter: brightness(130%);
  filter: brightness(130%);
}
a {
  transition: all 0.3s;
  line-height: 65px;
  background: linear-gradient(#36bd89, #20a53a);
  color: #fff;
  display: inline-block;
  border-radius: 20px;
  width: 240px;
  box-shadow: 0 6px 10px rgba(0, 110, 21, 0.3);
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  img {
    margin-right: 16px;
  }
}
@include mobile {
  a {
    line-height: 40px;
    width: 150px;
    font-size: 15px;
    margin: 0 5px;
    :deep(img) {
      height: 18px;
    }
  }
}
</style>
